package xpn.business.fund_return.entity.frcae_status;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import xpn.business.fund_return.entity.frcase.valueobject.CaseStatusCommon;
import xpn.platform.modules.sys.user.SysUser;
import xpn.platform.common.persistence.AbstractBaseEntity;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "frcase_status")
@Getter
@Setter
@NoArgsConstructor
public class FrcaseStatus extends AbstractBaseEntity {
    private Long caseId;
    @Enumerated(EnumType.STRING)
    private CaseStatusCommon status;
    @JoinColumn
    @ManyToOne(fetch = FetchType.LAZY)
    private SysUser operator;
    private Date operatorTime;
}
